package com.blb.zycommunity.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.zycommunity.entity.ZyUnit;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 单元  服务类
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface IZyUnitService extends IService<ZyUnit> {
    /**
     * 查询小区信息
     * @return
     */
    IPage<ZyUnit> selectByAll(Long current, Long size,String unitName,String unitCode,String unitHaveElevator ,String buildingName,Long communityId);
    List<ZyUnit> findUnitByBuildingId(String buildingId);
}
